package cn.cdeden.knowledge.domain.dto;

import cn.cdeden.common.translation.annotation.Translation;
import cn.cdeden.common.translation.constant.TransConstant;
import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
//import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
* @author Chen
* @date 2023-11-23
*/
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class TeamFilesReviewDto implements Serializable {
    private static final long serialVersionUID = 1L;

//    @ApiModelProperty(value = "编号")
    /** 防止精度丢失 */
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;

//    @ApiModelProperty(value = "用户编号")
    private String userId;

//    @ApiModelProperty(value = "用户名称")
    @Translation(type = TransConstant.USER_ID_TO_NICKNAME)
    private String nickName;

//    @ApiModelProperty(value = "回复人")
    private String replier;

//    @ApiModelProperty(value = "回复人姓名")
    @Translation(type = TransConstant.USER_ID_TO_NICKNAME)
    private String replierName;

//    @ApiModelProperty(value = "创建时间")
    private Date createTime;

//    @ApiModelProperty(value = "树节点id")
    private String treeNodeId;

//    @ApiModelProperty(value = "内容")
    private String content;
}
